package cn.electronic.sale.service;

import java.util.List;

import cn.electronic.sale.pojo.Ordersdetail;

/**
 * @author nightingale
 * 订单列表
 */
public interface OrdersDetailService {
	/**
	 * @author nightingale
	 * 插入商品订单细节
	 */
	public void insertOrdersDetail(Ordersdetail ordersdetail) throws Exception;
	
	/**
	 * @author nightingale
	 * 查询所有商品订单细节
	 */
	public List<Ordersdetail> selectAllDetail() throws Exception;
	

	/**
	 * @author nightingale
	 * 删除所有商品订单细节
	 */
	public int deleteByPrimaryKey(Integer detailId)throws Exception;
}
